package chapter04.h4_2;

import chapter04.h4_2.framework.Factory;
import chapter04.h4_2.idcard.IDCardFactoory;

public class Main {
    public static void main(String[] args) {
        Factory factory = new IDCardFactoory();
        factory.create("aj");
        factory.create("ap");
        factory.create("ad");
        factory.create("ac");
        ((IDCardFactoory) factory).printOwners();
    }
}
